package day4;

import java.util.ArrayList;
import java.util.Random;

public interface Monster {
	public static final 
	int hp=30;
	int atk=0;
	int def=0;
	
		public default  ArrayList MonsterGet(){
			Random r=new Random();
			ArrayList<Integer> list=new ArrayList<>();
			
			int atk=r.nextInt(10)+20;
			int def=r.nextInt(5)+5;

			list.add(hp); list.add(atk); list.add(def);
			return list;
		}
		public abstract void show();
}
